home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 15
/
Aminet 15 - Nov 1996.iso
/
Aminet
/
dev
/
lang
/
FPL_v147.lha
/
fpl
/
funclib
/
smakefile
< prev
next >
Wrap
Makefile
|
1994-05-02
|
3KB
|
64 lines
########################################################################
# #
# fpl.library - A shared library interpreting script langauge. #
# Copyright (C) 1992-1994 FrexxWare #
# Author: Daniel Stenberg #
# #
# This program is free software; you may redistribute for non #
# commercial purposes only. Commercial programs must have a written #
# permission from the author to use FPL. FPL is *NOT* public domain! #
# Any provided source code is only for reference and for assurance #
# that users should be able to compile FPL on any operating system #
# he/she wants to use it in! #
# #
# You may not change, resource, patch files or in any way reverse #
# engineer anything in the FPL package. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. #
# #
# Daniel Stenberg #
# Ankdammsgatan 36, 4tr #
# S-171 43 Solna #
# Sweden #
# #
# FidoNet 2:201/328 email:dast@sth.frontec.se #
# #
########################################################################
FUNC = func
LIB = lib
TEST = test
#
# These flags build the .library:
#
FLAGS = STRINGMERGE UNSIGNEDCHAR NOSTKCHK DATA=NEAR\
NOVERSION DEBUG=S
#OPTIMIZE
ASMFLAGS = IDIR=Include: ASSEMBLER
LINKFLAGS = SC SD
LIBS = LIB:sc.lib LIB:amiga.lib
FUNCSOURCE = func.c
LIBSOURCE = lib.c
TESTSOURCE = test.c
CC = sc
ASM = sc
LINK = slink
all: $(FUNC) $(LIB) $(TEST)
$(TEST): $(TESTSOURCE)
sc $(FLAGS) link DEFINE=AMIGA $(TESTSOURCE) to $(TEST) noicons
$(FUNC): $(FUNCSOURCE)
sc $(FLAGS) link $(FUNCSOURCE) to $(FUNC) noicons
$(LIB): $(LIBSOURCE)
sc $(FLAGS) link $(LIBSOURCE) to $(LIB) noicons